using System.Collections.Generic;

namespace Magiq.Databases.Insert
{
    public class DatabaseInsert<TSource> : DatabaseOperation
    {
        public DatabaseInsert()
        {
            ColumnAssignments = new List<InsertColumnsAssignment>();
        }

        public ITypeMapping DestinationTypeMapping { get; set; }
        public IEnumerable<TSource> Source { get; set; }
        public IList<InsertColumnsAssignment> ColumnAssignments { get; private set; }
    }
}